<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<link href="statics/portal/css/style.css" rel="stylesheet"
	type="text/css" />
<link href="statics/portal/css/common.css" rel="stylesheet"
	type="text/css" />
<link type="text/css" rel="stylesheet"
	href="statics/portal/js/layui/css/layui.css" />
<style>
.demo-input {
	padding-left: 10px;
	height: 38px;
	min-width: 262px;
	line-height: 38px;
	border: 1px solid #e6e6e6;
	background-color: #fff;
	border-radius: 2px;
}
</style>
<script type="text/javascript"
	src="statics/portal/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="statics/portal/js/login.js"></script>
<script type="text/javascript" src="statics/portal/js/modifypassword.js"></script>
<script type="text/javascript" src="statics/portal/js/common.js"></script>
<script type="text/javascript" src="statics/portal/js/layer/layer.js"></script>
<script type="text/javascript" src="statics/portal/js/layui/layui.js"></script>

</head>
<body onkeydown="keyLogin();">
	<div class="top_hw clearfix">
		<div class="top_h clearfix">
			<div class="top_hl">
				<span>欢迎来到中国梦想游，让你的梦想全程免费自由行！</span> 预定热线：<b>0571-63322269</b>
			</div>
			<c:choose>
				<c:when test="${currentUser==null}">
					<div class="top_hr">
						<a href="/to_tour_register">会员注册</a> | <a href="/to_tour_login">登录</a>
					</div>
				</c:when>
				<c:otherwise>
					<div class="top_hr">
						<a href="/to_tour_membercenter">${currentUser.username},您好！</a> |
						<c:if test="${currentUser.role==0 }">
							<a href="/backend/nav_index" style="color: red">后台中心</a> | 
					</c:if>
						<a href="javascript:;" class="logout_a">退出登录</a>
					</div>
				</c:otherwise>
			</c:choose>
		</div>
	</div>
	<div class="head_w">
		<div class="head_t clearfix">
			<div class="logo">
				<img src="statics/portal/images/logo.jpg" />
			</div>
			<div class="rx_line">
				<img src="statics/portal/images/rx.jpg">
			</div>

		</div>
	</div>
	<div class="mainNav clearfix">
		<ul class="Nav_ul">
			<li id="index" ><a href="/">首页</a><img
				src="statics/portal/images/nav_line.jpg"></li>
			<li id="route"><a href="/to_travel_route">旅游路线</a><img
				src="statics/portal/images/nav_line.jpg"></li>
			<li id="scenicsport"><a href="/to_travel_scenicsport">旅游景点</a><img
				src="statics/portal/images/nav_line.jpg"></li>
			<li id="grouppurchase"><a href="/to_travel_grouppurchase">旅游团购</a><img
				src="statics/portal/images/nav_line.jpg"></li>
			<li id="resume"><a href="/to_automatic_resume">自动生成简介</a><img
				src="statics/portal/images/nav_line.jpg"></li>
			<li id="companyprofile"><a href="/to_team_companyprofile">团队简介</a><img
				src="statics/portal/images/nav_line.jpg"></li>
			<li id="navigationdetails"><a href="/to_navigation_navigationdetails">行程导航</a></li>
		</ul>
	</div>
<script type="text/javascript">
$(function() {
		$(".Nav_ul li").click(function() {
			console.log($(this));
			$(this).siblings().removeClass("cur");
			$(this).addClass("cur");
		});
	});
	</script>